package create_pattern.build_pattern.simple_factory_pattern;

/**
 * 简单工厂模式
 */
public class MainSimpleFactory {
    public static void main(String[] args) {
        Chart line = ChartFactory.getChart("line");
        line.display();
    }
}
